package com.zy.openchat.core.model.group;

public class RequestData<T> {

    public T data;

    public String errorMsg;

    public boolean isOk;

    public RequestData(T data) {
        this.data = data;
        isOk = true;
    }

    public RequestData(String errorMsg) {
        this.errorMsg = errorMsg;
        isOk = false;
    }
}
